<?php
header('Content-Type:text/html;charset=utf-8');
$mysqli = new mysqli('127.0.0.1:3306','root','root','ylw');
if($mysqli->connect_errno){
    die($mysqli->connect_error);
}
?>